namespace MvcApplication1.Tests
{
    using System;

    public class UrlHelper
    {
        public Uri absoluteUri(string path)
        {
            return new Uri(System.IO.Path.GetFullPath(path));
        }

        public Uri createUrl(Uri baseUri, Uri uriKind)
        {
            return new Uri(baseUri, uriKind);
        }

        public string getProtocol(Uri url)
        {
            return url.Scheme;
        }
    }
}